package com.sentiment.parser.news;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.sentiment.nlpalgo.bean.Double2;
import com.sentiment.nlpalgo.bean.Keywords;

public interface NewsParser {
	
	public String getTitle();
	public Date getReleaseTime();
	
	public List<String> getText();
	
	public String getPublisher();
	public int getComment();
	
	public int getPageView();
	
	//以下是需要用到算法分析的方法
	public List<Double2> getSentiment(List<String> text);
	public Double2 getSentiment(String text);
	
	public List<Keywords> getKeywords(List<String> text);
	public Keywords getKeywords(String text);

	
}
